home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day09 / scratch.bpr < prev    next >
Encoding:
Text File  |  1998-02-08  |  4.6 KB  |  177 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.03
  15. # ---------------------------------------------------------------------------
  16. PROJECT = Scratch.exe
  17. OBJFILES = Scratch.obj SPAbout.obj SPMain.obj
  18. RESFILES = Scratch.res
  19. RESDEPEN = $(RESFILES) SPAbout.dfm SPMain.dfm
  20. LIBFILES =
  21. LIBRARIES = VCL35.lib
  22. SPARELIBS = VCL35.lib
  23. DEFFILE =
  24. PACKAGES = vclx35.bpi VCL35.bpi vcldb35.bpi vcldbx35.bpi dclocx35.bpi Qrpt35.bpi \
  25.   teeui35.bpi teedb35.bpi tee35.bpi dss35.bpi NMFast35.bpi inetdb35.bpi \
  26.   inet35.bpi VclMid35.bpi
  27. # ---------------------------------------------------------------------------
  28. PATHCPP = .;
  29. PATHASM = .;
  30. PATHPAS = .;
  31. PATHRC = .;
  32. DEBUGLIBPATH = $(BCB)\lib\debug
  33. RELEASELIBPATH = $(BCB)\lib\release
  34. # ---------------------------------------------------------------------------
  35. CFLAG1 = -Od -Hc -w -Ve -r- -a4 -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW
  36. CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcl35.csm
  37. CFLAG3 =
  38. PFLAGS = -U$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  39.   -I$(BCB)\include;$(BCB)\include\vcl -v -JPHN -M
  40. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl
  41. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd /d_RTLDLL /dUSEPACKAGES
  42. LFLAGS = -L$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa -Tpe -x -v
  43. IFLAGS = -Gn
  44. # ---------------------------------------------------------------------------
  45. ALLOBJ = c0w32.obj $(OBJFILES)
  46. ALLRES = $(RESFILES)
  47. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  48. # ---------------------------------------------------------------------------
  49. !ifdef IDEOPTIONS
  50.  
  51. [Version Info]
  52. IncludeVerInfo=0
  53. AutoIncBuild=0
  54. MajorVer=1
  55. MinorVer=0
  56. Release=0
  57. Build=0
  58. Debug=0
  59. PreRelease=0
  60. Special=0
  61. Private=0
  62. DLL=0
  63. Locale=1033
  64. CodePage=1252
  65.  
  66. [Version Info Keys]
  67. CompanyName=
  68. FileDescription=
  69. FileVersion=1.0.0.0
  70. InternalName=
  71. LegalCopyright=
  72. LegalTrademarks=
  73. OriginalFilename=
  74. ProductName=
  75. ProductVersion=1.0.0.0
  76. Comments=
  77.  
  78. [HistoryLists\hlIncludePath]
  79. Count=1
  80. Item0=$(BCB)\include;$(BCB)\include\vcl
  81.  
  82. [HistoryLists\hlLibraryPath]
  83. Count=1
  84. Item0=$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib
  85.  
  86. [HistoryLists\hlDebugSourcePath]
  87. Count=1
  88. Item0=$(BCB)\source\vcl
  89.  
  90. [HistoryLists\hlConditionals]
  91. Count=1
  92. Item0=_RTLDLL;USEPACKAGES
  93.  
  94. [Debugging]
  95. DebugSourceDirs=$(BCB)\source\vcl
  96.  
  97. [Parameters]
  98. RunParams=
  99. HostApplication=
  100.  
  101. !endif
  102.  
  103. # ---------------------------------------------------------------------------
  104. # MAKE SECTION
  105. # ---------------------------------------------------------------------------
  106. # This section of the project file is not used by the BCB IDE.  It is for
  107. # the benefit of building from the command-line using the MAKE utility.
  108. # ---------------------------------------------------------------------------
  109.  
  110. .autodepend
  111. # ---------------------------------------------------------------------------
  112. !if !$d(BCC32)
  113. BCC32 = bcc32
  114. !endif
  115.  
  116. !if !$d(DCC32)
  117. DCC32 = dcc32
  118. !endif
  119.  
  120. !if !$d(TASM32)
  121. TASM32 = tasm32
  122. !endif
  123.  
  124. !if !$d(LINKER)
  125. LINKER = ilink32
  126. !endif
  127.  
  128. !if !$d(BRCC32)
  129. BRCC32 = brcc32
  130. !endif
  131. # ---------------------------------------------------------------------------
  132. !if $d(PATHCPP)
  133. .PATH.CPP = $(PATHCPP)
  134. .PATH.C   = $(PATHCPP)
  135. !endif
  136.  
  137. !if $d(PATHPAS)
  138. .PATH.PAS = $(PATHPAS)
  139. !endif
  140.  
  141. !if $d(PATHASM)
  142. .PATH.ASM = $(PATHASM)
  143. !endif
  144.  
  145. !if $d(PATHRC)
  146. .PATH.RC  = $(PATHRC)
  147. !endif
  148. # ---------------------------------------------------------------------------
  149. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  150.     $(BCB)\BIN\$(LINKER) @&&!
  151.     $(LFLAGS) $(IFLAGS) +
  152.     $(ALLOBJ), +
  153.     $(PROJECT),, +
  154.     $(ALLLIB), +
  155.     $(DEFFILE), +
  156.     $(ALLRES)
  157. !
  158. # ---------------------------------------------------------------------------
  159. .pas.hpp:
  160.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  161.  
  162. .pas.obj:
  163.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  164.  
  165. .cpp.obj:
  166.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  167.  
  168. .c.obj:
  169.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  170.  
  171. .asm.obj:
  172.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  173.  
  174. .rc.res:
  175.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  176. # ---------------------------------------------------------------------------
  177.